package com.my.service;

import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

@Service
public interface AddressService {
    String showAddress(HttpServletRequest req);

    String addAddress(String province, String city, String district, String address, String code, String phone, String name, HttpServletRequest req);

    String updateAddress(Integer id, String province, String city, String district, String address, String code, String phone, String name);

    String deleteAddress(Integer addressId, HttpServletRequest req);

    String selById(Integer id);

    String updateStatus(Integer ori_id, Integer id);
}
